package cyc.learn.mode.strategy;

abstract class Character {
    protected WeaponBehavior weaponBehavior;

    /**
     * 战斗
     */
    abstract void fight();

    /**
     * 设置武器
     */
    public void setWeapon(WeaponBehavior w){
        this.weaponBehavior = w;
    }
}
